package com.yz.xyt.mapper;

import com.yz.xyt.domain.Staff;
import com.yz.xyt.domain.vo.StaffVo;
import org.apache.ibatis.annotations.Mapper;
import java.util.List;

@Mapper
public interface StaffMapper {


    int deleteByPrimaryKey(Integer staffId);

    int insert(Staff record);

    int insertSelective(Staff record);

    Staff selectByPrimaryKey(Integer staffId);

    int updateByPrimaryKeySelective(Staff record);

    int updateByPrimaryKey(Staff record);

    int updateByStaffNumberSelective(Staff record);

    Staff findByStaffNumber(String staffNumber);

    int deleteByStaffNumber(String staffNumber);

    List<StaffVo> findStaffList(StaffVo staffVo);

    StaffVo selectStaffInfo(String staffNumber);

    String findStaffNumberByName(String staffName);

    List<Staff> getInstructorList();
}